package com.wlyuan.open.scanner.domain.transport;

import com.wlyuan.open.scanner.utils.enums.order.AttachSourceEnum;
import com.wlyuan.open.scanner.utils.enums.order.TransportAttachTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lijing
 * @description
 */
@Data
public class TransportAttach implements Serializable {

    private static final long serialVersionUID = -1500570432569335205L;
    @ApiModelProperty("附件url")
    private String url;
    @ApiModelProperty("附件类型")
    private TransportAttachTypeEnum type;
    @ApiModelProperty(value = "附件来源 0：自己上传，1：下游同步，2：上游同步")
    private AttachSourceEnum source;
    @ApiModelProperty("附件名称")
    private String name;
    @ApiModelProperty("创建时间")
    private LocalDateTime createAt;
    @ApiModelProperty("所属订单")
    private Long ownerOrderId;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("创建人")
    private Long createBy;
    @ApiModelProperty("所属公司")
    private Long tenantId;


    @ApiModelProperty("是否失效 0 有效 1失效")
    private Integer invalid;
    @ApiModelProperty("同步过来的标识 0或空：正常  1：是同步过来的")
    private Integer syncThisTag;
    @ApiModelProperty("同步的标识 0或空：正常 1 ：本方同步过的")
    private Integer thisSyncTag;
    private Integer id;
}
